<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>拼团赢豪礼 - 奢享时光</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --primary-gradient: linear-gradient(135deg, #7F00FF, #E100FF);
      --secondary-gradient: linear-gradient(135deg, #00F5A0, #00D9F5);
      --primary-color: #7F00FF;
      --secondary-color: #00F5A0;
      --accent-color: #FFE600;
      --dark-bg: #2D1B69;
      --light-bg: #6B3FA0;
      --text-light: #FFFFFF;
      --text-secondary: #E0D5FF;
      --card-bg: rgba(255, 255, 255, 0.1);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --border-radius: 16px;
      --border: 1px solid rgba(255, 255, 255, 0.18);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Noto Sans SC', 'Poppins', sans-serif;
      background: var(--dark-bg);
      color: var(--text-light);
      font-size: 14px;
      line-height: 1.5;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      outline: none;
    }

    .app-container {
      max-width: 480px;
      margin: 0 auto;
      min-height: 100vh;
      background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
      position: relative;
      overflow: hidden;
      padding-bottom: 70px;
    }

    /* 背景装饰 */
    .bg-decoration {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-circle {
      position: absolute;
      border-radius: 50%;
    }

    .bg-circle:nth-child(1) {
      width: 250px;
      height: 250px;
      top: -50px;
      left: -100px;
      background: radial-gradient(circle, rgba(127, 0, 255, 0.3), rgba(127, 0, 255, 0));
    }

    .bg-circle:nth-child(2) {
      width: 300px;
      height: 300px;
      bottom: 20%;
      right: -150px;
      background: radial-gradient(circle, rgba(0, 245, 160, 0.2), rgba(0, 245, 160, 0));
    }

    /* 顶部导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      background: rgba(45, 27, 105, 0.8);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: var(--border);
    }

    .network-info {
      font-size: 12px;
      display: flex;
      align-items: center;
    }

    .network-info i {
      margin-right: 5px;
    }

    .page-title {
      font-size: 18px;
      font-weight: 600;
    }

    .rules-link {
      font-size: 14px;
      color: var(--accent-color);
    }

    /* 内容区域 */
    .content {
      position: relative;
      z-index: 1;
      padding: 20px;
    }

    /* 顶部统计信息 */
    .stats-container {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border-radius: 30px;
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      margin-bottom: 30px;
      border: var(--border);
    }

    .stat-item {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .stat-value {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 5px;
    }

    .stat-label {
      font-size: 12px;
      color: var(--text-secondary);
    }

    /* 主要拼团按钮 */
    .main-button-container {
      margin: 30px 0;
      text-align: center;
    }

    .main-group-button {
      background: var(--primary-gradient);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      color: var(--text-light);
      font-size: 22px;
      font-weight: 700;
      padding: 15px 50px;
      border-radius: 15px;
      border: var(--border);
      box-shadow: 0 5px 15px rgba(127, 0, 255, 0.4);
      transition: all 0.3s ease;
    }

    .main-group-button:active {
      transform: scale(0.98);
    }

    /* 礼盒展示 */
    .gift-showcase {
      text-align: center;
      margin: 30px 0;
      position: relative;
    }

    .gift-image {
      width: 80%;
      max-width: 300px;
      filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    }

    /* 控制选项 */
    .control-options {
      display: flex;
      justify-content: space-between;
      margin: 30px 0;
    }

    .option-box {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border-radius: var(--border-radius);
      border: var(--border);
      padding: 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: calc(50% - 10px);
      box-shadow: var(--shadow);
    }

    .option-title {
      font-size: 16px;
      font-weight: 600;
      color: var(--accent-color);
      margin-bottom: 10px;
    }

    /* 开关样式 */
    .switch-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .switch-label {
      font-size: 14px;
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 24px;
    }

    .switch input { 
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255, 255, 255, 0.2);
      transition: .4s;
      border-radius: 34px;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }

    input:checked + .slider {
      background-color: var(--secondary-color);
    }

    input:checked + .slider:before {
      transform: translateX(26px);
    }

    /* 收益显示 */
    .profit-display {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .profit-value {
      font-size: 20px;
      font-weight: 700;
      color: var(--accent-color);
    }

    /* 底部按钮 */
    .bottom-button {
      margin: 30px 0;
      text-align: center;
    }

    .locked-button {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-light);
      font-size: 18px;
      font-weight: 600;
      padding: 15px 0;
      width: 100%;
      border-radius: 30px;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: var(--border);
      box-shadow: var(--shadow);
    }

    /* 积分按钮 */
    .points-button {
      position: absolute;
      top: 135px;
      right: 2px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--accent-color);
      font-size: 14px;
      font-weight: 600;
      padding: 10px 15px;
      border-radius: 10px;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      box-shadow: var(--shadow);
      width: 95px;
      height: 40px;
      z-index: 10;
    }

    .records-button {
      position: absolute;
      top: 205px;
      right: 2px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--accent-color);
      font-size: 14px;
      font-weight: 600;
      padding: 10px 15px;
      border-radius: 10px;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      box-shadow: var(--shadow);
      width: 105px;
      height: 40px;
      z-index: 10;
      text-decoration: none;
    }

    /* 底部导航 */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 480px;
      margin: 0 auto;
      background: rgba(45, 27, 105, 0.8);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-top: var(--border);
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
      z-index: 100;
    }

    .nav-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      color: var(--text-secondary);
      font-size: 12px;
      padding: 5px 0;
      flex: 1;
      transition: all 0.3s ease;
    }

    .nav-button i {
      font-size: 18px;
      margin-bottom: 2px;
    }

    .nav-button.active {
      color: var(--accent-color);
    }

    /* 动画 */
    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    @keyframes float {
      0% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0); }
    }

    .gift-image {
      animation: float 3s ease-in-out infinite;
    }

    /* 响应式调整 */
    @media (max-width: 375px) {
      .stats-container {
        padding: 10px 15px;
      }

      .stat-value {
        font-size: 20px;
      }

      .main-group-button {
        font-size: 20px;
        padding: 12px 40px;
      }
    }
  </style>
</head>
<body>
  <div class="app-container">
    <!-- 背景装饰 -->
    <div class="bg-decoration">
      <div class="bg-circle"></div>
      <div class="bg-circle"></div>
    </div>

    <!-- 顶部导航 -->
    <header class="header">
      <!-- <div class="network-info">
        <i class="fas fa-signal"></i>
        <span>中国电信</span>
      </div>-->
      <div class="page-title">拼团赢豪礼</div>
      <!--<div class="rules-link">规则</div>-->
    </header>

    <!-- 主要内容 -->
    <main class="content">
      <!-- 顶部统计信息 -->
      <section class="stats-container">
        <div class="stat-item">
          <div class="stat-value">0</div>
          <div class="stat-label">拼团券</div>
        </div>
        <div class="stat-item">
          <div class="stat-value">0</div>
          <div class="stat-label">幸运星</div>
        </div>
        <div class="stat-item">
          <div class="stat-value">0</div>
          <div class="stat-label">股权</div>
        </div>
      </section>

      <!-- 参团记录按钮 -->
      <a href="#" class="records-button">
        <i class="fas fa-clipboard-list"></i>
        <span>参团记录</span>
      </a>
      
      <!-- 主拼团按钮 -->
      <section class="main-button-container">
        <button class="main-group-button">拼团赢豪礼</button>
      </section>

      <!-- 礼盒展示 -->
      <section class="gift-showcase">
        <img src="https://gallery.yopriceville.com/var/albums/Free-Clipart-Pictures/Valentine%27s-Day-PNG/Transparent_Gift_Box_with_Heart_PNG_Clipart.png?m=1629819649" alt="豪华礼盒" class="gift-image">
      </section>

      <!-- 控制选项 -->
      <section class="control-options">
        <div class="option-box">
          <div class="option-title">自动拼团</div>
          <div class="switch-container">
            <span class="switch-label">开</span>
            <label class="switch">
              <input type="checkbox" checked>
              <span class="slider"></span>
            </label>
            <span class="switch-label">关</span>
          </div>
        </div>
        
        <div class="option-box">
          <div class="option-title">拼团收益</div>
          <div class="profit-display">
            <div class="profit-value">200金币/次</div>
          </div>
        </div>
      </section>

      <!-- 底部按钮 -->
      <section class="bottom-button">
        <div class="open-time-info" style="text-align: center; margin-bottom: 15px;">
          <div class="time-title" style="font-size: 14px; color: var(--text-secondary); margin-bottom: 5px;">拼团开放时间</div>
          <div class="time-schedule" style="display: flex; justify-content: space-between; background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 10px 15px; margin: 0 auto; max-width: 300px; box-shadow: var(--shadow); border: var(--border);">
            <div class="time-block">
              <div class="block-title" style="font-size: 12px; color: var(--text-secondary);">上午场</div>
              <div class="block-time" style="font-size: 14px; font-weight: 600; color: var(--accent-color);">10:00</div>
            </div>
            <div class="time-block">
              <div class="block-title" style="font-size: 12px; color: var(--text-secondary);">下午场</div>
              <div class="block-time" style="font-size: 14px; font-weight: 600; color: var(--accent-color);">14:00</div>
            </div>
            <div class="time-block">
              <div class="block-title" style="font-size: 12px; color: var(--text-secondary);">晚间场</div>
              <div class="block-time" style="font-size: 14px; font-weight: 600; color: var(--accent-color);">20:00</div>
            </div>
          </div>
        </div>
        <button class="locked-button">开始拼团</button>
      </section>

      <!-- 拼团规则详情 -->
      <section class="rules-section" style="background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--border-radius); padding: 15px; margin: 25px 0; box-shadow: var(--shadow); border: var(--border);">
        <div class="rules-header" style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;">
          <div class="rules-title" style="font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px;">
            <i class="fas fa-crown" style="color: var(--accent-color);"></i>
            <span>拼团规则</span>
          </div>
          <div class="rules-toggle" style="font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 5px; cursor: pointer;">
            <span class="toggle-text">收起</span>
            <i class="fas fa-chevron-up toggle-icon"></i>
          </div>
        </div>
        <div class="rules-content" style="max-height: 500px; overflow: hidden; transition: max-height 0.3s ease;">
          <div class="rule-item" style="display: flex; gap: 10px; margin-bottom: 12px;">
            <div class="rule-num" style="width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0;">1</div>
            <div class="rule-text" style="font-size: 13px; color: var(--text-secondary); line-height: 1.5;">每日三个时段开放拼团：上午10点、下午2点、晚上8点，每场持续1小时</div>
          </div>
          <div class="rule-item" style="display: flex; gap: 10px; margin-bottom: 12px;">
            <div class="rule-num" style="width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0;">2</div>
            <div class="rule-text" style="font-size: 13px; color: var(--text-secondary); line-height: 1.5;">购买商品满500元，可获得1张拼团券</div>
          </div>
          <div class="rule-item" style="display: flex; gap: 10px; margin-bottom: 12px;">
            <div class="rule-num" style="width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0;">3</div>
            <div class="rule-text" style="font-size: 13px; color: var(--text-secondary); line-height: 1.5;">每场拼团需满10人才能开奖，未满人数将自动延期至下一场</div>
          </div>
          <div class="rule-item" style="display: flex; gap: 10px; margin-bottom: 12px;">
            <div class="rule-num" style="width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0;">4</div>
            <div class="rule-text" style="font-size: 13px; color: var(--text-secondary); line-height: 1.5;">每组拼团仅1人可获得商品，其余参与者每人获得20元奖励</div>
          </div>
          <div class="rule-item" style="display: flex; gap: 10px; margin-bottom: 12px;">
            <div class="rule-num" style="width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0;">5</div>
            <div class="rule-text" style="font-size: 13px; color: var(--text-secondary); line-height: 1.5;">拼团成功获得奖品的用户将额外获得1颗幸运星</div>
          </div>
          <div class="rule-item" style="display: flex; gap: 10px; margin-bottom: 0;">
            <div class="rule-num" style="width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0;">6</div>
            <div class="rule-text" style="font-size: 13px; color: var(--text-secondary); line-height: 1.5;">集满5颗幸运星可兑换1股股权，享受平台每日分红</div>
          </div>
        </div>
      </section>

     <!-- 积分按钮 -->
     <button class="points-button">
      <i class="fas fa-gift"></i>
     <span>排行榜</span>
   </button>

      <!-- 商城入口 
      <div style="position: absolute; bottom: 90px; right: 90px;">
        <button style="background: rgba(255, 255, 255, 0.1); border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border: var(--border); backdrop-filter: blur(5px); box-shadow: var(--shadow);">
          <div style="color: var(--accent-color); font-size: 12px;">进商城</div>
        </button>
      </div>-->
    </main>

    <!-- 底部导航 -->
    <nav class="bottom-nav">
      <a href="index.html" class="nav-button">
        <i class="fas fa-home"></i>
        <span>首页</span>
      </a>
      <a href="groupbuy.html" class="nav-button active">
        <i class="fas fa-users"></i>
        <span>拼团</span>
      </a>
      <a href="shares.html" class="nav-button">
        <i class="fas fa-chart-line"></i>
        <span>股权</span>
      </a>
      <a href="profile.html" class="nav-button">
        <i class="fas fa-user"></i>
        <span>我的</span>
      </a>
    </nav>
  </div>

  <script>
    document.addEventListener('DOMContentLoaded', function() {
      // 开关切换效果
      const switchCheckbox = document.querySelector('.switch input');
      
      switchCheckbox.addEventListener('change', function() {
        if(this.checked) {
          alert('已开启自动拼团，系统将自动为您参与拼团活动');
        } else {
          alert('已关闭自动拼团，您需要手动参与拼团活动');
        }
      });
      
      // 主按钮点击效果
      const mainButton = document.querySelector('.main-group-button');
      
      mainButton.addEventListener('click', function() {
        alert('拼团功能即将开放，敬请期待！');
      });
      
      // 锁定按钮点击效果
      const lockedButton = document.querySelector('.locked-button');
      
      lockedButton.addEventListener('click', function() {
        alert('此功能暂未开放，敬请期待！');
      });
      
      // 规则切换效果
      const rulesToggle = document.querySelector('.rules-toggle');
      const rulesContent = document.querySelector('.rules-content');
      const toggleText = document.querySelector('.toggle-text');
      const toggleIcon = document.querySelector('.toggle-icon');
      
      rulesToggle.addEventListener('click', function() {
        if (rulesContent.style.maxHeight === '0px') {
          rulesContent.style.maxHeight = '500px';
          toggleText.textContent = '收起';
          toggleIcon.classList.remove('fa-chevron-down');
          toggleIcon.classList.add('fa-chevron-up');
        } else {
          rulesContent.style.maxHeight = '0px';
          toggleText.textContent = '展开';
          toggleIcon.classList.remove('fa-chevron-up');
          toggleIcon.classList.add('fa-chevron-down');
        }
      });
      
      // 页面加载动画
      const mainContent = document.querySelector('.content');
      const elements = mainContent.querySelectorAll('section');
      
      elements.forEach((el, index) => {
        el.style.opacity = '0';
        el.style.transform = 'translateY(20px)';
        el.style.transition = `opacity 0.5s ease, transform 0.5s ease`;
        
        setTimeout(() => {
          el.style.opacity = '1';
          el.style.transform = 'translateY(0)';
        }, 100 + (index * 150));
      });
    });
  </script>
</body>
</html> 